|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - The generic type of individuals.public interface IIndividual<T extends IIndividual<T>>
This is the interface for individuals. It extends IFitness.
| Field Summary |
|---|
| Fields inherited from interface ga.core.individual.IFitness |
|---|
UNEVALUATED |
| Method Summary | |
|---|---|
T |
clone()
Creates a new individual that is equal to this. |
GAContext |
getContext()
Getter for the GA context. |
long |
getId()
Getter for the unique id. |
void |
initRandomly()
Initializes the genotype randomly and resets the fitness. |
boolean |
isEvaluated()
Determines if the individual has been evaluated. |
void |
setContext(GAContext context)
Sets the GA context. |
| Methods inherited from interface ga.core.individual.IFitness |
|---|
getFitness, setFitness |
| Method Detail |
|---|
void initRandomly()
T clone()
boolean isEvaluated()
true if the individual is evaluated.long getId()
void setContext(GAContext context)
context - The contextGAContext getContext()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||